
/*
	Author: Wang https://blog.csdn.net/q475254344
	Last Modified: 2018/5/15
*/
body {
    padding: 0px;
    margin: 0px;
}
li {
    list-style: none;
}
input {
    border-radius: 5px;
}
.leftbar ul {
    padding: 0px;
}
.leftbar li {
    padding: 10px;
}
.leftbar {
    background-color: #212e3e;
    width: 50px;
    height: 100%;
    color:grey;
    padding: 0px;
    text-align: center;
    position: absolute;
}
.video_bar video:not(#video_p2p){/*视频聊天*/
    width: auto;height: auto;
    max-width: 200px;
    max-height: 300px;
}
#video_p2p{
    width: auto;height: auto;
    max-height: 400px;max-width: 300px;
}
#video_list li{
    display:inline-block;
    max-width: 200px;
    max-height: 250px;
    text-align: center;
}
.container {
    height: 100%;
    width: 100%;
    background:  linear-gradient(#1f94bf 20%,#edf5f8 0, #edf5f8 80%, #1f94bf 0);
    /*background: url("/img/user_log.png");*/
    display: flex;
    margin: 0;
}
.chatbox {
    margin: auto;
    height: 70%;
    width: 70%;
    transform: translateY(-10%);
    box-shadow: 0 0 0 1px gray;
    display: flex;
}
.chatleft {
    background-color: #ffffff;
    width: 25%;
    left: 0;
    height: 100%;
}
.chatleft .top {
    height: 10%;
    color: grey;
    background-color: #F7F9F9;
    display: flex;
    align-items: center;
    padding-left: 20px;
}
/*.searchbtn {*/
/*    height: 36px;*/
/*    width: 36px;*/
/*    border-radius: 18px;*/
/*    background-color: #1f94bf;*/
/*    color: #ECF0F1;*/
/*    margin-left: 10px;*/
/*}*/
/*.searchbtn:hover {*/
/*    cursor: pointer;*/
/*}*/
.chatleft .center {
    overflow-y: scroll;
    height: 90%;
}
.chatleft .center ul{
    padding-left: 10px;
}
.chatleft .center li{
    margin: 10px;
}
.chatright {
    background-color: #ffffff;
    width: 75%;
    height: 100%;
}
.chatright .top {
    height: 10%;
    display: flex;
    align-items: center;
    padding-left: 30px;
}
.chatright .center {
    background-color: #edf5f8;
    height: 65%;
    overflow-y: scroll;
}
.chatright .center ul {
    padding: 10px;
}
.chatright .center li {
    margin: 10px;
    width: 100%;
}
.chatright .center p{/*聊天信息*/
    display: inline-block;
    margin: 0 10px 0 10px;
    background-color: white;
    border-radius: 10px;
    padding: 10px;
    max-width: 80%;

    word-wrap: break-word;
    word-break: break-all;
    overflow: hidden;
}
#chat_list li img:not(.msg_pic){/*聊天头像*/
    border-radius: 20px;
    vertical-align: top;
    width: 40px;
    height: 40px;
    content:url("/img/user_log.png");
}
.msg_pic{/*聊天图片*/
    border-radius: 20px;
    vertical-align: top;
    max-height: 200px;max-width: 200px;;
    width: auto;
    height: auto;
}
.msgleft {
    float: left;
}
.msgright {
    float: right;
    text-align: right;
}
.chatright .footer {
    height: 25%;
    background-color: #FBFCFC;
    text-align: right;
}
.more_btn{/*表情，文件等*/
    background-color:#f3f3f3;
}
.more_btn img{
    idth: 25px;
    height: 25px;
}
.more_btn img:hover{/*鼠标放上去*/
    filter:alpha(Opacity=40);
    -moz-opacity:0.4;
    opacity: 0.4;
}

.sendbtn {
    height: 40px;
    width: 80px;
    border-radius: 10px;
    background-color: #58D68D;
    color: white;
    font-weight: bold;
    margin:10px 20px 0 0;
}
#user_list li img{
    border-radius: 20px;
    vertical-align: middle;
    width: 40px;
    height: 40px;
    content:url("/img/user_log.png");
}
/*#user_list li:hover,#multi_chat_option:hover{*/
/*    background-color: #d7dede;*/
/*}*/
.top_chatting img{
    border-radius: 20px;
    width: 40px;
    height: 40px;
    /*margin-left: 320px; */
    vertical-align: middle;
}
.top_chatting{
    horiz-align: center;
    align-content: center;
    padding-left:35%;
}
#multi_chat_option img{
    border-radius: 20px;
    vertical-align: middle;
    width: 40px;
    height: 40px;
    content:url("/img/multi_log.png");
}
#user_list li span,#multi_chat_option span{
    margin-left: 10px;
}
.msgleft div{
    float:left;
    display:inline;
    height: 50px;
    width: 50px;
    font-size: 1px;
    color: #7c7c7c;
    line-height: 20px;
    text-align: center;
}
.more_btn{
    margin-right: .2em;
    float: left;
}
.btn_choose{
    display:none;
    position: absolute;
    text-align: left;
    margin-top: -70px;
}
